import Vue from 'vue'
import {
  Button,
  Form,
  FormItem,
  Input,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Menu,
  Submenu,
  MenuItem,
  Table,
  TableColumn,
  Message,
  Pagination,
  Select,
  Option,
  Switch,
  Checkbox,
  CheckboxGroup,
  Upload,
  TabPane,
  Tabs,
  MessageBox,
  RadioGroup,
  RadioButton
} from 'element-ui'

Vue.use(Button).use(Form).use(FormItem).use(Input).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(Menu).use(Submenu).use(MenuItem).use(Table).use(TableColumn).use(Pagination).use(Select).use(Option).use(Switch).use(Checkbox).use(CheckboxGroup).use(Upload).use(TabPane).use(Tabs).use(RadioGroup).use(RadioButton)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm